Platform Explorer / Nuxeo Platform LTS 2017 9.10

Component org.nuxeo.ecm.webapp.contentview.contrib

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.webapp.contentview.contrib">

  <extension target="org.nuxeo.ecm.platform.ui.web.ContentViewService"
    point="contentViews">

    <contentView name="document_content">

      <title>label.contentview.document_content</title>
      <translateTitle>true</translateTitle>
      <showTitle>false</showTitle>

      <pageProvider name="document_content">
        <property name="coreSession">#{documentManager}</property>
        <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
        <parameter>#{currentDocument.id}</parameter>
      </pageProvider>

      <searchLayout name="document_content_filter"
        filterDisplayType="quick" />
      <showFilterForm>true</showFilterForm>

      <showPageSizeSelector>true</showPageSizeSelector>
      <useGlobalPageSize>true</useGlobalPageSize>
      <refresh>
        <event>documentChanged</event>
        <event>documentChildrenChanged</event>
      </refresh>
      <cacheKey>#{currentDocument.id}</cacheKey>
      <cacheSize>10</cacheSize>

      <resultLayouts>
        <layout name="document_listing_table" title="document_listing"
          translateTitle="true" iconPath="/icons/document_listing_icon.png"
          showCSVExport="true" showSpreadsheet="true" showEditColumns="true" />
        <layout name="document_listing_thumbnail" title="document_thumbnail_listing"
          translateTitle="true" iconPath="/icons/document_listing_icon_2_columns_icon.png"
          showSlideshow="true" showEditRows="true" />
      </resultLayouts>

      <selectionList>CURRENT_SELECTION</selectionList>
      <actions category="CURRENT_SELECTION_LIST" />

    </contentView>

    <contentView name="document_trash_content">

      <title>label.contentview.document_trash_content</title>
      <translateTitle>true</translateTitle>
      <showTitle>false</showTitle>

      <pageProvider name="document_trash_content">
        <property name="coreSession">#{documentManager}</property>
        <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
        <parameter>#{currentDocument.id}</parameter>
      </pageProvider>

      <searchLayout name="document_content_filter"
        filterDisplayType="quick" />
      <showFilterForm>true</showFilterForm>

      <showPageSizeSelector>true</showPageSizeSelector>
      <useGlobalPageSize>true</useGlobalPageSize>
      <refresh>
        <event>documentChanged</event>
        <event>documentChildrenChanged</event>
      </refresh>
      <cacheKey>#{currentDocument.id}</cacheKey>
      <cacheSize>10</cacheSize>

      <resultLayouts>
        <layout name="document_listing_table" title="document_listing"
          translateTitle="true" iconPath="/icons/document_listing_icon.png"
          showCSVExport="true" showSpreadsheet="true" showEditColumns="true" />
        <layout name="document_listing_thumbnail" title="document_thumbnail_listing"
          translateTitle="true" iconPath="/icons/document_listing_icon_2_columns_icon.png"
          showSlideshow="true" showEditRows="true" />
      </resultLayouts>

      <selectionList>CURRENT_SELECTION_TRASH</selectionList>
      <actions category="CURRENT_SELECTION_TRASH_LIST" />

    </contentView>

    <contentView name="section_content">

      <title>label.contentview.section_content</title>
      <translateTitle>true</translateTitle>
      <showTitle>false</showTitle>

      <pageProvider name="section_content">
        <property name="coreSession">#{documentManager}</property>
        <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
        <parameter>#{currentDocument.id}</parameter>
      </pageProvider>

      <searchLayout name="document_content_filter"
        filterDisplayType="quick" />
      <showFilterForm>true</showFilterForm>

      <showPageSizeSelector>true</showPageSizeSelector>
      <useGlobalPageSize>true</useGlobalPageSize>
      <refresh>
        <event>documentChanged</event>
        <event>documentChildrenChanged</event>
        <event>documentPublicationRejected</event>
      </refresh>
      <cacheKey>#{currentDocument.id}</cacheKey>
      <cacheSize>10</cacheSize>

      <resultLayouts>
        <layout name="document_listing_table" title="document_listing"
          translateTitle="true" iconPath="/icons/document_listing_icon.png"
          showCSVExport="true" showSpreadsheet="true" showEditColumns="true" />
        <layout name="document_listing_thumbnail" title="document_thumbnail_listing"
          translateTitle="true" iconPath="/icons/document_listing_icon_2_columns_icon.png"
          showSlideshow="true" showEditRows="true" />
      </resultLayouts>

      <selectionList>CURRENT_SELECTION_SECTIONS</selectionList>
      <actions category="CURRENT_SELECTION_SECTIONS_LIST" />

    </contentView>

    <contentView name="orderable_document_content">

      <title>label.contentview.orderable_document_content</title>
      <translateTitle>true</translateTitle>
      <showTitle>false</showTitle>

      <pageProvider name="orderable_document_content">
        <property name="coreSession">#{documentManager}</property>
        <parameter>#{currentDocument.id}</parameter>
      </pageProvider>

      <searchLayout name="document_content_filter"
        filterDisplayType="quick" />
      <showFilterForm>true</showFilterForm>

      <showPageSizeSelector>true</showPageSizeSelector>
      <useGlobalPageSize>true</useGlobalPageSize>
      <refresh>
        <event>documentChanged</event>
        <event>documentChildrenChanged</event>
      </refresh>
      <cacheKey>#{currentDocument.id}</cacheKey>
      <cacheSize>10</cacheSize>

      <resultLayouts>
        <layout name="document_listing_table" title="document_listing"
          translateTitle="true" iconPath="/icons/document_listing_icon.png"
          showCSVExport="true" showSpreadsheet="true" showEditColumns="true" />
      </resultLayouts>

      <selectionList>CURRENT_SELECTION</selectionList>
      <actions category="ORDERABLE_CURRENT_SELECTION_LIST" />

    </contentView>

  </extension>

</component>